package com.designpatterns.Decorator;

/**
 * Created by 41579 on 2017/5/25.
 */
public abstract class MockInputStreamDecorate extends MockInputStream {
    protected MockInputStream inputStream;

    public MockInputStreamDecorate(MockInputStream mockInputStream) {
        this.inputStream = mockInputStream;
    }

    @Override
    public void read(){
        inputStream.read();
    }

}
